home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 18
/
CU Amiga Magazine's Super CD-ROM 18 (1997)(EMAP Images)(GB)[!][issue 1998-01].iso
/
CUCD
/
Utilities
/
Smartass
/
Install Smartass
< prev
next >
Wrap
Text File
|
1996-07-11
|
2KB
|
85 lines
(if (< (/ (getversion) 65536) 37)
(abort "Smartass requires at least Kickstart 2.04 (v37)")
)
(set destdir
(askdir
(prompt "Where do you want to install Smartass? No new drawer will be created.")
(help @askdir-help)
(default "SYS:WBStartup")
)
)
(set destdocdir
(askdir
(prompt "Where do you want to install the \"Smartass\" drawer that will contain the docs?")
(help @askdir-help)
(default "Work:")
)
)
(set update
(askbool
(prompt "Do you already have a datafile from a previous Smartass release?")
(help @askbool-help)
)
)
(if (= 1 update)
(set destcookiedir
(askdir
(prompt "Where did you install the \"Data\" drawer?")
(help @askdir-help)
(default "Work:Smartass/")
)
)
)
(if (= 0 update)
(set destcookiedir destdocdir)
)
(copyfiles
(prompt "Copying \"Smartass\" to " destdir)
(help @copyfiles-help)
(source "")
(dest destdir)
(pattern "Smartass")
(infos)
(files)
)
(tooltype
(dest (tackon destdir "Smartass"))
(settooltype "SMARTASSFILE" (tackon destcookiedir "data/smartass.dat"))
(noposition)
)
(copyfiles
(prompt "Copying \"Docs\" to " destdocdir)
(source "")
(dest (tackon destdocdir "Smartass"))
(pattern "Docs")
(infos)
)
(copyfiles
(prompt "Copying \"Icons\" to " destdocdir)
(source "")
(dest (tackon destdocdir "Smartass"))
(pattern "Icons")
(infos)
)
(if (= 0 update)
(copyfiles
(prompt "Copying \"smartass.dat\" to " destcookiedir)
(help @copyfiles-help)
(source "")
(dest (tackon destcookiedir "Smartass"))
(pattern "data")
(infos)
)
)